import request from '@/utils/request'
// 树形结构树
export function treeByParentId(searchCon) {
  return request({
    url: '/uums/SysOrgInfo/treeByParentId',
    method: 'POST',
    params: {
      parentId: searchCon.parentId,
      status: searchCon.status
    }
  })
}
export function treeById(searchCon) {
  return request({
    url: '/uums/SysOrgInfo/treeById_ex',
    method: 'POST',
    params: {
      id: searchCon.id,
      status: searchCon.status
    }
  })
}
